from main.model.logic.system import System

MS_X_CYCLE = 100 
ROUN_ROBIN_ENABLE = True
PROGRAM_AMOUNT = 100
LOG = True

system = System(MS_X_CYCLE, ROUN_ROBIN_ENABLE, LOG).with_programs(PROGRAM_AMOUNT).power_on()

for program_index in range (0, PROGRAM_AMOUNT ):
    system.kernel.execute("program a#" + str(program_index), [])
    system.kernel.execute("program b#" + str(program_index), [1])
